package com.tom.demo.common.enumeration;

import lombok.Getter;

public class FieldTypeEnum {

    /**
     * 逻辑删除的校验枚举
     */
    @Getter
    public enum IsDelete {
        NOT_DELETE("0","未删除"),
        IS_DELETE("1","删除");


        private final String status;

        private final String description;

        IsDelete(String status, String description) {
            this.status = status;
            this.description = description;
        }
    }

    /**
     * 逻辑删除的校验枚举
     */
    @Getter
    public enum status {
        NOT_RELEASE("0","未发布"),
        IS_RELEASE("1","已发布");


        private final String release;

        private final String description;

        status(String release, String description) {
            this.release = release;
            this.description = description;
        }
    }
}
